<template>
    <div id="teachercenter-main" class="w-base"><div class="w-base">
      <div class="w-base-title">
        <h3 style="margin-top: 0">修改密码</h3>
      </div>
      <div class="t-security">
        <div style="width:90%;margin: 20px auto;">
          <form class="form-horizontal" id="password-change-form">
            <div class="form-group">
              <label for="username" class="col-sm-2 control-label">用户名：</label>
              <div class="col-sm-10">
                <input type="text" class="form-control"  name="username" id="username"
                       placeholder="用户名或手机号二选一填写即可">
              </div>
            </div>
            <div class="form-group">
              <label for="mobile" class="col-sm-2 control-label">手机号：</label>
              <div class="col-sm-10">
                <input type="text" class="form-control" id="mobile" name="mobile"
                       placeholder="用户名或手机号二选一填写即可">
              </div>
            </div>
            <div class="form-group">
              <label for="code" class="col-sm-2 control-label">验证码：</label>
              <div class="col-sm-7">
                <input type="text" class="form-control" id="code" name="code"
                       placeholder="请收到验证码后再填写之后的内容">
              </div>
              <div class="col-sm-3">
                <button class="btn btn-info" type="button" id="pwd-change-button"
                        onclick="pwd_change_validate()">获取验证码
                </button>
              </div>
            </div>
            <div class="form-group">
              <label for="password" class="col-sm-2 control-label">设定密码：</label>
              <div class="col-sm-10">
                <input type="password" class="form-control" id="password" name="password"
                       placeholder="请输入密码">
              </div>
            </div>
            <div class="form-group">
              <label for="password-repeat" class="col-sm-2 control-label">确认密码：</label>
              <div class="col-sm-10">
                <input type="password" class="form-control" id="password-repeat" name="password-repeat"
                       placeholder="请重复输入密码">
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-offset-2 col-sm-10">
                <button type="button" class="btn btn-primary" onclick="password_change()">完成</button>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>

    </div>

</template>
